all:client4 client5 client6

client4:client4.cpp
	g++ -o $@ $^ -std=c++11 -pthread
client5:client5.cpp
	g++ -o $@ $^ -std=c++11 -pthread
client6:client6.cpp
	g++ -o $@ $^ -std=c++11 -pthread

tcp_client:tcp_client.cc
	g++ -o $@ $^ -std=c++11 -pthread
tcp_server:tcp_server.cc
	g++ -o $@ $^ -std=c++11 -pthread
server:server.cc
	g++ -o $@ $^ -std=c++11 -pthread -g
.PHONY:clean
clean:
	rm -f client4 client5 client6